import {observable,action} from "mobx"
class bookrackStore {
    constructor(store) {
     this.store = store 
        this.getBookcategory = this.getBookcategory.bind(this)
        this.getBookall  = this.getBookall.bind(this)
    }
    @observable getbookcategory = [];
    @observable getbookall = [];


    @action
    getBookcategory (data) {
      this.getbookcategory = data
   }
   getBookall(data) {
       this.getbookall = data
   }
  
  }
  
  export default bookrackStore;